@import "./common.less";
.position(@pos: absolute, @l: 0, @t: 0, @w: 100%, @h: 100%) {
  position: @pos;
  left: @l;
  top: @t;
  width: @w;
  height: @h;
}
// 对齐方式
.alignCenter(@display: flex, @alignItem: center, @justifyContent: unset, @direction: row) {
  display: @display;
  align-items: @alignItem;
  justify-content: @justifyContent;
  flex-direction: @direction;
}
// 默认阴影样式
.shadow(@x: 0, @y: 4px, @blur: 10px, @color: rgba(215, 215, 215, 0.35)) {
  box-shadow: @x @y @blur @color;
}
// 模糊查询 无边框样式
.fuzzySearch() {
  .iconsousuo {
    font-size: 28px;
    color: @color-text-secondary;
  }
  .el-input__inner {
    border: none !important;
    padding-left: 0;
    background: transparent;
  }
}
// 标题文字 + icon 默认样式
.titleTextBox() {
  .alignCenter(flex, center, space-between);
  .titleText {
    .alignCenter();
    color: @color-text-primary;
    .iconfont {
      font-size: 20px;
    }
    .text {
      margin-left: 5px;
      font-size: 16px;
    }
  }
}
